home *** CD-ROM | disk | FTP | other *** search
/ Power Programmierung 2 / Power-Programmierung CD 2 (Tewi)(1994).iso / gnu / gnulib / ghostscr / font_dbr < prev    next >
Encoding:
Text File  |  1990-12-31  |  10.4 KB  |  273 lines

  1. %    Copyright (C) 1990 Aladdin Enterprises.  All rights reserved.
  2. %    Distributed by Free Software Foundation, Inc.
  3. %
  4. % This file is part of Ghostscript.
  5. %
  6. % Ghostscript is distributed in the hope that it will be useful, but
  7. % WITHOUT ANY WARRANTY.  No author or distributor accepts responsibility
  8. % to anyone for the consequences of using it or for whether it serves any
  9. % particular purpose or works at all, unless he says so in writing.  Refer
  10. % to the Ghostscript General Public License for full details.
  11. %
  12. % Everyone is granted permission to copy, modify and redistribute
  13. % Ghostscript, but only under the conditions described in the Ghostscript
  14. % General Public License.  A copy of this license is supposed to have been
  15. % given to you along with Ghostscript so you can know your rights and
  16. % responsibilities.  It should be in a file named COPYING.  Among other
  17. % things, the copyright notice and this notice must be preserved on all
  18. % copies.
  19.  
  20. % ----------------------------------------------------------------
  21.  
  22. % This file is a catalog of fonts known to Ghostscript.  Any font to be
  23. % converted from BDF or Hershey to Ghostscript format, and any font
  24. % that is to be loaded automatically when named, must be in this catalog.
  25.  
  26. % Each font has an entry consisting of five items:
  27. %
  28. %    - The name by which the font is known inside Ghostscript
  29. %    (a Ghostscript literal name).  This is used to find the file
  30. %    from which a font of a given name should be loaded.
  31. %
  32. %    - The name of the Ghostscript font file (a Ghostscript string).
  33. %    The filename should include the extension, which (by convention)
  34. %    is `.gsf'.
  35. %
  36. %    - The encoding to be used with the font (a Ghostscript literal name).
  37. %    This is used only when converting the font.  Currently, the only
  38. %    defined encodings are `/StandardEncoding' and `/SymbolEncoding'.
  39. %    If the font or the conversion program specifies the encoding itself,
  40. %    the encoding should be `null' (not `/null').
  41. %
  42. %    - The uniqueID of the font (an integer).  This is used to identify
  43. %    to identify distinct fonts within the Ghostscript font machinery.
  44. %    Since some P*stScr*pt programs assume that adding a small integer
  45. %    to a uniqueID produces a new, distinct, unused uniqueID,
  46. %    the uniqueID values in this file are all multiples of 10.
  47. %    To avoid some conflicts with Adobe's numbering scheme, the uniqueID
  48. %    values in this file all lie between 4200000 and 4299999.
  49. %    The uniqueID is also used only when converting the font.
  50. %       The algorithm for computing the UniqueID is given below.
  51. %
  52. %    - A terminating semicolon.
  53.  
  54. % Because of limitations in the MS-DOS environment, Ghostscript font
  55. % file names must be no more than 8 characters long, must consist only
  56. % of LOWER CASE letters, digits, and underscores, and must start with a
  57. % letter.  Font names, on the other hand, need only obey the syntax of
  58. % names in the Ghostscript language, which is much more liberal.
  59.  
  60. % The following table is actually a Ghostscript data structure.
  61. % If you add new entries, be sure to copy the punctuation accurately.
  62.  
  63.  
  64. % A UniqueID for a Ghostscript font looks like:
  65. % 4TTWVE0
  66. % where TT is a two-digit number representing the typeface,
  67. % W represents the weight (normal, bold, ...),
  68. % V represents the variant (normal, italic, oblique, ...), and
  69. % E represents the expansion (normal, condensed, ...).
  70. % This scheme will not work forever.  As soon there are more 99
  71. % typefaces, or more than 9 weights or variants, we will have to do
  72. % something else. But it suffices for the near future.
  73. % The filename for a font is constructed in a somewhat similar way:
  74. % FTTWVVVE.gsf
  75. % where F is the foundry, TT a two-letter abbreviation for the
  76. % typeface, and W, V, and E the weight, variant, and expansion.  Since a
  77. % font can have multiple variants, we allocate three letters to that
  78. % (for example, Lucida Regular Sans Typewriter Italic).  If a font has
  79. % four variants, you're on your own.  If a font does have multiple
  80. % variants, it's best to add the expansion letter `r', so that it is
  81. % clear which letters are variants and which the expansion.
  82. % This scheme is very close to the one proposed in `Filenames for
  83. % fonts', to be published in the first 1990 issue of TUGboat (the
  84. % journal of the TeX Users Group).
  85. % In the following tables, we made no attempt to be exhaustive. 
  86. % Instead, we have simply allocated entries for those things that we needed
  87. % for the fonts that we are actually distributing.
  88. %
  89. % foundries:
  90. % ----------------------------------------------------------------
  91. % b = Bitstream
  92. % p = Adobe (`p' for PostScript)
  93. % typefaces:
  94. % id   name              filename prefix
  95. % ----------------------------------------------------------------
  96. % 08 = Avant Garde        = pag        (Adobe)
  97. % 11 = Bookman            = pbk        (Adobe)
  98. % 01 = Charter            = bch        (Bitstream)
  99. % 02 = Courier            = pcr        (Adobe)
  100. % 03 = Helvetica        = phv        (Adobe)
  101. % 04 = New Century Schoolbook    = pnc        (Adobe)
  102. % 09 = Palatino            = ppl        (Adobe)
  103. % 05 = Symbol            = psy        (Adobe)
  104. % 06 = Times            = ptm        (Adobe)
  105. % 00 = Ugly            = ugly        (public domain)
  106. % 07 = Zapf Chancery        = zc        (public domain)
  107. % 10 = Zapf Dingbats        = pzd        (Adobe)
  108. %
  109. % 90 = Hershey Gothic English    = hrge
  110. % 91 = Hershey Gothic Italian    = hrit
  111. % 92 = Hershey Gothic German    = hrgr
  112. % 93 = Hershey Greek        = hrgk
  113. % 94 = Hershey Plain        = hrpl
  114. % 95 = Hershey Script        = hrsc
  115. % 96 = Hershey Symbol        = hrsy
  116. % weights:
  117. % 0 = normal            = r
  118. % 1 = bold            = b
  119. % 2 = book            = k
  120. % 3 = demi            = d
  121. % 4 = light            = l
  122. % variants:
  123. % 0 = normal            = r (omitted when the weight is normal)
  124. % 1 = italic            = i
  125. % 2 = oblique            = o
  126. %
  127. % expansions:
  128. % 0 = normal            = r (omitted when the weight and variant
  129. %                                    are normal)
  130. % 1 = narrow            = n
  131.  
  132.  
  133. % A homemade font.
  134.  
  135. /Ugly                (uglyr.gsf)    /StandardEncoding 4000000 ;
  136.  
  137.  
  138. % Fonts converted from bitmaps.
  139.  
  140. /AvantGarde-Book        (pagk.gsf)    /StandardEncoding 4082000 ;
  141. /AvantGarde-BookOblique        (pagko.gsf)    /StandardEncoding 4082200 ;
  142. /AvantGarde-Demi        (pagd.gsf)    /StandardEncoding 4083000 ;
  143. /AvantGarde-DemiOblique        (pagdo.gsf)    /StandardEncoding 4083200 ;
  144.  
  145. /Bookman-Light            (pbkl.gsf)    /StandardEncoding 4114000 ;
  146. /Bookman-LightItalic        (pbkli.gsf)    /StandardEncoding 4114100 ;
  147. /Bookman-Demi            (pbkd.gsf)    /StandardEncoding 4113000 ;
  148. /Bookman-DemiItalic        (pbkdi.gsf)    /StandardEncoding 4113100 ;
  149.  
  150. /Charter-Roman            (bchr.gsf)    /StandardEncoding 4010000 ;
  151. /Charter-Italic            (bchri.gsf)    /StandardEncoding 4010100 ;
  152. /Charter-Bold            (bchb.gsf)    /StandardEncoding 4011000 ;
  153. /Charter-BoldItalic        (bchbi.gsf)    /StandardEncoding 4011100 ;
  154.  
  155. /Courier            (pcrr.gsf)    /StandardEncoding 4020000 ;
  156. /Courier-Oblique        (pcrro.gsf)    /StandardEncoding 4020200 ;
  157. /Courier-Bold            (pcrb.gsf)    /StandardEncoding 4021000 ;
  158. /Courier-BoldOblique        (pcrbo.gsf)    /StandardEncoding 4021200 ;
  159.  
  160. /Helvetica            (phvr.gsf)    /StandardEncoding 4030000 ;
  161. /Helvetica-Oblique        (phvro.gsf)    /StandardEncoding 4030200 ;
  162. /Helvetica-Narrow        (phvrrn.gsf)    /StandardEncoding 4030310 ;
  163. /Helvetica-Bold            (phvb.gsf)    /StandardEncoding 4031000 ;
  164. /Helvetica-BoldOblique        (phvbo.gsf)    /StandardEncoding 4031200 ;
  165.  
  166. /NewCenturySchlbk-Roman        (pncr.gsf)    /StandardEncoding 4040000 ;
  167. /NewCenturySchlbk-Italic    (pncri.gsf)    /StandardEncoding 4040100 ;
  168. /NewCenturySchlbk-Bold        (pncb.gsf)    /StandardEncoding 4041000 ;
  169. /NewCenturySchlbk-BoldItalic    (pncbi.gsf)    /StandardEncoding 4041100 ;
  170.  
  171. /Palatino-Roman            (pplr.gsf)    /StandardEncoding 4090000 ;
  172. /Palatino-Italic        (pplri.gsf)    /StandardEncoding 4090100 ;
  173. /Palatino-Bold            (pplb.gsf)    /StandardEncoding 4091000 ;
  174. /Palatino-BoldItalic        (pplbi.gsf)    /StandardEncoding 4091100 ;
  175.  
  176. /Symbol                (psyr.gsf)    /SymbolEncoding   4050000 ;
  177.  
  178. /Times-Roman            (ptmr.gsf)    /StandardEncoding 4060000 ;
  179. /Times-Italic            (ptmri.gsf)    /StandardEncoding 4060100 ;
  180. /Times-Bold            (ptmb.gsf)    /StandardEncoding 4061000 ;
  181. /Times-BoldItalic        (ptmbi.gsf)    /StandardEncoding 4061100 ;
  182.  
  183. /ZapfChancery            (zcr.gsf)    /StandardEncoding 4070000 ;
  184. /ZapfChancery-Oblique        (zcro.gsf)    /StandardEncoding 4070200 ;
  185. /ZapfChancery-Bold        (zcb.gsf)    /StandardEncoding 4071000 ;
  186.  
  187. /ZapfDingbats            (pzdr.gsf)    /StandardEncoding 4100000 ;
  188.  
  189.  
  190. % Fonts converted from Hershey outlines.
  191. % The UniqueID's and filenames are constructed differently for
  192. % these than for the ones above, because of the strange way that the Hershey
  193. % fonts were constructed.  The scheme for these looks like:
  194. % 42TTXY0
  195. % TT = typeface, X = ``class'', Y = variation
  196. % The typeface numbers are given above.
  197. % class:
  198. % 0 = normal            = r
  199. % 1 = simplex            = s
  200. % 2 = complex            = c
  201. % 3 = triplex            = t
  202. % variation:
  203. % 0 = normal            (omitted)
  204. % 1 = oblique            = o
  205. % 2 = italic            = i
  206. % 3 = bold            = b
  207. % 4 = bold oblique        = bo
  208. % 5 = bold italic        = bi
  209.  
  210. /Hershey-Gothic-English        (hrge_r.gsf)    /StandardEncoding 4290000 ;
  211. /Hershey-Gothic-English-Bold    (hrge_rb.gsf)    /StandardEncoding 4290030 ;
  212. /Hershey-Gothic-English-Oblique    (hrge_ro.gsf)    /StandardEncoding 4290010 ;
  213.  
  214. /Hershey-Gothic-German        (hrgr_r.gsf)    /StandardEncoding 4291000 ;
  215. /Hershey-Gothic-German-Bold    (hrgr_rb.gsf)    /StandardEncoding 4291030 ;
  216. /Hershey-Gothic-German-Oblique    (hrgr_ro.gsf)    /StandardEncoding 4291010 ;
  217.  
  218. /Hershey-Gothic-Italian        (hrit_r.gsf)    /StandardEncoding 4292000 ; 
  219. /Hershey-Gothic-Italian-Bold    (hrit_rb.gsf)    /StandardEncoding 4292030 ;
  220. /Hershey-Gothic-Italian-Oblique    (hrit_ro.gsf)    /StandardEncoding 4292010 ;
  221.  
  222. /Hershey-Greek-Complex        (hrgk_c.gsf)    /StandardEncoding 4293200 ;
  223. /Hershey-Greek-Simplex        (hrgk_s.gsf)    /StandardEncoding 4293100 ;
  224.  
  225. /Hershey-Plain            (hrpl_r.gsf)    /StandardEncoding 4294000 ;
  226. /Hershey-Plain-Bold        (hrpl_rb.gsf)    /StandardEncoding 4294030 ;
  227. /Hershey-Plain-Oblique        (hrpl_ro.gsf)    /StandardEncoding 4294010 ;
  228. /Hershey-Plain-Simplex        (hrpl_s.gsf)    /StandardEncoding 4294100 ;
  229. /Hershey-Plain-Simplex-Bold    (hrpl_sb.gsf)    /StandardEncoding 4294130 ;
  230. /Hershey-Plain-Simplex-Bold-Oblique (hrpl_sbo.gsf) /StandardEncoding 4294140 ;
  231. /Hershey-Plain-Simplex-Oblique    (hrpl_so.gsf)    /StandardEncoding 4294110 ;
  232. /Hershey-Plain-Triplex        (hrpl_t.gsf)    /StandardEncoding 4294300 ;
  233. /Hershey-Plain-Triplex-Italic    (hrpl_ti.gsf)    /StandardEncoding 4294320 ;
  234. /Hershey-Plain-Triplex-Bold    (hrpl_tb.gsf)    /StandardEncoding 4294330 ;
  235. /Hershey-Plain-Triplex-Bold-Italic (hrpl_tbi.gsf) /StandardEncoding 4294350 ;
  236.  
  237. /Hershey-Script-Complex        (hrsc_c.gsf)    /StandardEncoding 4295200 ;
  238. /Hershey-Script-Complex-Bold    (hrsc_cb.gsf)    /StandardEncoding 4295230 ;
  239. /Hershey-Script-Complex-Oblique    (hrsc_co.gsf)   /StandardEncoding 4295210 ;
  240. /Hershey-Script-Simplex        (hrsc_s.gsf)    /StandardEncoding 4295100 ;
  241. /Hershey-Script-Simplex-Bold    (hrsc_sb.gsf)    /StandardEncoding 4295130 ;
  242. /Hershey-Script-Simplex-Oblique    (hrsc_so.gsf)    /StandardEncoding 4295110 ;
  243.  
  244. /Hershey-Symbol            (hrsy_r.gsf)    /SymbolEncoding   4296000 ;
  245.